package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import org.hibernate.validator.constraints.NotEmpty;

import java.util.List;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "批量更新商品顺序请求体")
public class GoodsBatchUpdateOrderRequest {

    @Schema(description="商品序号组")
    @NotEmpty
    @Valid
    private List<GoodsBatchUpdateOrderModule> orderModuleList;

    @Schema(description="修改人",example="admin")
    private String updater;

    @Schema(description="操作者",example="admin")
    private String operator;

    public List<GoodsBatchUpdateOrderModule> getOrderModuleList() {
        return orderModuleList;
    }

    public void setOrderModuleList(List<GoodsBatchUpdateOrderModule> orderModuleList) {
        this.orderModuleList = orderModuleList;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
}
